package com.andong.service;

import com.andong.domain.dto.LoginDTO;
import com.andong.domain.pojo.Result;

/**
 * InterfaceName: LoginService
 *
 * @author XHU_WHY
 * @version V1.0
 * @since 2024/1/6 9:26
 */
public interface LoginService {
    Result getCode(String phone) throws Exception;

    Result loginBySMS(LoginDTO loginDTO);

    Result loginByUsername(LoginDTO loginDTO) throws Exception;

    Integer selectStatusById(Long id, String identity);
}
